package avicit.tlk.back.demo.my111.dto;

import avicit.platform6.commons.utils.StringUtils;
import avicit.platform6.core.annotation.log.FieldRemark;
import avicit.platform6.core.annotation.log.LogField;
import avicit.platform6.core.annotation.log.PojoRemark;
import avicit.platform6.core.domain.*;
import avicit.platform6.core.properties.PlatformConstant;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.lang.String;
import java.math.BigDecimal;
import java.util.Date;
import javax.validation.constraints.*;

/**
 * My111类
 *
 * @author 朱辉云
 * @version 1.0.0
 * @date 2025-06-13 10:23:55
 * @since 1.0.0
 */
@ApiModel(value = "My111DTO", description = "")
@PojoRemark(table = "my111", object = "My111DTO", name = "My111")
@ExcelIgnoreUnannotated
public class My111DTO extends BeanDTO {

	/**
	 * name
	 */
	@LogField
	@ApiModelProperty(value = "name", name = "name")
	@ExcelProperty("name")
	@FieldRemark(column = "name", field = "name", name = "name")
	private String name;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Override
	public String getLogTitle() {
		if (StringUtils.isEmpty(super.logTitle)) {
			return "My111";
		} else {
			return super.logTitle;
		}
	}

	@Override
	public PlatformConstant.LogType getLogType() {
		if (super.logType == null) {
			return PlatformConstant.LogType.module_operate;
		} else {
			return super.logType;
		}
	}

	@Override
	public String getLogFormName() {
		if (StringUtils.isEmpty(super.logFormName)) {
			return "My111";
		} else {
			return super.logFormName;
		}
	}
}
